import Network from "@/api/network";


/**
 * 查询字典表列表
 * @param data
 * @returns {Promise | Promise<unknown>}
 */
 export const tableList = (data) => Network.get('/codeGenerator/tableList', data);

 /**
  * 保存字典
  * @param data
  * @returns {Promise | Promise<unknown>}
  */
 export const getByTableFieldList = (data) => Network.get('/codeGenerator/getByTableFieldList', data);
 
 /**
  * 根据id查询
  * @param data
  * @returns {Promise | Promise<unknown>}
  */
 export const getByIdDishesDict = (data) => Network.post('/dishesDict/getByIdDishesDict', data);
 